<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>用户列表</title>

    <meta name="keywords" content="">
    <meta name="description" content="">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="favicon.ico"> <link href="__STATIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__STATIC__/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/css/style.css?v=4.1.0" rel="stylesheet">
</head>
<style type="text/css">
    tr>th{
        text-align: center;
    }
</style>
<body>

<div class="ibox-content">
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>头像</th>
                <th>昵称</th>
                <th>性别</th>
                <th>国家</th>
                <th>省份</th>
                <th>城市</th>
                <th>登录次数</th>
                <th>登录时间</th>
                <th>登录来源</th>
            </tr>
        </thead>
        <tbody>
            {foreach $user as $u}
            <tr>
                <th><img src="{$u.avatarUrl}" style="width: 50px;height: 50px;display: block;margin: 0 auto;"></th>
                <th>{$u.nickName}</th>
                {eq name="$u.gender" value="1"}
                <th>男</th>
                {else/}
                <th>女</th>
                {/eq}
                <th>{$u.country}</th>
                <th>{$u.province}</th>
                <th>{$u.city}</th>
                <th>{$u.status}</th>
                <th>{:date('Y-m-d H:i:s',$u.logintime)}</th>
                <th>小程序</th>
            </tr>
            {/foreach}
        </tbody>
    </table>

</div>


<!-- 全局js -->
<script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
<script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>
<script src="__STATIC__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="__STATIC__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="__STATIC__/js/plugins/layer/layer.min.js"></script>

<!-- 自定义js -->
<script src="__STATIC__/js/hAdmin.js?v=4.1.0"></script>
<script type="text/javascript" src="__STATIC__/js/index.js"></script>

<!-- 第三方插件 -->
<script src="__STATIC__/js/plugins/pace/pace.min.js"></script>

</script>

</body>
</html>